<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Programming in Lua</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="../lua.css">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
<STYLE TYPE="text/css">
ul {
	list-style-type: none ;
}
</STYLE>
</HEAD>

<BODY>

<HR>
<H1>
<A HREF="../home.html"><IMG SRC="../images/logo.gif" ALT="Lua" BORDER=0></A>
Programming in Lua
</H1>

<A HREF="#3ed">third edition</A>
&middot;
<A HREF="#2ed">second edition</A>
&middot;
<A HREF="#1ed">first edition</A>
&middot;
<A HREF="errata.html">errata</A>
&middot;
<A HREF="contents.html">online version</A>
&middot;
<A HREF="http://astore.amazon.com/lua-store-20/detail/859037985X">amazon</A>
&middot;
<A HREF="http://store.feistyduck.com/products/programming-in-lua">e-book</A>
&middot;
<A HREF="../manual/5.2/">manual</A>
<HR>

<P>
This book is a detailed and authoritative introduction to
all aspects of Lua programming
written by Lua's chief architect.
<P>

<EM>Programming in Lua</EM> gives a solid base for any programmer who wants to use Lua. It covers all aspects of Lua&mdash;from the basics to its API with C&mdash;explaining how to make good use of its features and giving numerous code examples.
The book is targeted at people with some programming background,
but it does not assume any prior knowledge about Lua or other scripting languages.
<P>

When you buy a copy of this book,
you help to <A HREF="../donations.html">support the Lua project</A>.
<P>

For the official definition of the Lua language, see the
<A HREF="../manual/5.2/">reference manual</A>.
<P>

<H2><A NAME="3ed">Third edition</A></H2>

<BLOCKQUOTE>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/859037985X/lua-pilindex-20">
<IMG TITLE="buy at the Lua Bookstore at Amazon" SRC="capa3.jpg" ALT="" BORDER=1 ALIGN="left" HSPACE=12 HEIGHT=100></A>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/859037985X/lua-pilindex-20">Programming in Lua</A>
<BR>by Roberto Ierusalimschy
<BR>Lua.org, January 2013
<BR>ISBN 859037985X
<BR CLEAR="all">
</BLOCKQUOTE>
<P>

The third edition is aimed at
<A HREF="../manual/5.2/">Lua 5.2</A>
and can be used with Lua 5.1.
It brings substantial new material.
All chapters include exercises,
ranging from simple questions about the language to full small-size projects.
<P>

The book is
<A HREF="http://www.amazon.com/exec/obidos/ASIN/859037985X/lua-pilindex-20">available</A> at the main online stores, such as the
<a href="http://astore.amazon.com/lua-store-20">Lua Bookstore at Amazon</a>
and also as an
<A HREF="http://store.feistyduck.com/products/programming-in-lua">e-book</A>.
<P>

<H2><A NAME="2ed">Second edition</A></H2>

<BLOCKQUOTE>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/8590379825/lua-pilindex-20">
<IMG TITLE="buy at the Lua Bookstore at Amazon" SRC="capa2.jpg" ALT="" BORDER=1 ALIGN="left" HSPACE=12></A>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/8590379825/lua-pilindex-20">Programming in Lua</A>
<BR>by Roberto Ierusalimschy
<BR>Lua.org, March 2006
<BR>ISBN 8590379825
<BR CLEAR="all">
</BLOCKQUOTE>
<P>

The second edition was aimed at
<A HREF="../manual/5.1/">Lua 5.1</A>
and remains quite relevant for Lua 5.2.
<P>

The book is still
<A HREF="http://www.amazon.com/exec/obidos/ASIN/8590379825/lua-pilindex-20">available</A> at the main online stores, such as the
<a href="http://astore.amazon.com/lua-store-20">Lua Bookstore at Amazon</a>.
<P>

It is also
<A HREF="../docs.html#pil">available</A>
in German, Korean, Chinese, and Japanese.
<P>

<H2><A NAME="1ed">First edition</A></H2>

<BLOCKQUOTE>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/8590379825/lua-pilindex-20">
<IMG TITLE="buy at the Lua Bookstore at Amazon" SRC="capa.jpg" ALT="" BORDER=1 ALIGN="left" HSPACE=12></A>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/8590379825/lua-pilindex-20">
<font color="gray">Programming in</font>
<font color="blue">Lua</font></A>
<BR>by Roberto Ierusalimschy
<BR>Lua.org, December 2003
<BR>ISBN 8590379817
<BR CLEAR="all">
</BLOCKQUOTE>
<P>

The first edition was aimed at
<A HREF="../manual/5.0/">Lua 5.0</A>
and remains largely relevant.
It is available <A HREF="contents.html">online</A>.
<P>

<HR>
<SMALL CLASS="footer">
Last update:
Mon May 20 22:52:45 BRT 2013
</SMALL>
<!--
Last change: Pil3 available as e-book
-->

</BODY>
</HTML>
